{% extends 'adminlte/lib/_main_sidebar.html' %}
{% load is_active %}

{% block user_panel %}
{% endblock %}


{% block nav_links %}
    <li class='{% is_active "/" %}'>
        <a href="/">
            <i class="fa fa-dashboard"></i> <span>主页</span>
        </a>
    </li>
    <li class='{% is_active "/server" %}'>
        <a href="/server/list">
            <i class="fa fa-server"></i><span>服务器</span>
        </a>
    </li>
    <li class='{% is_active "/product/" %}'>
        <a href="/product/">
            <i class="fa fa-product-hunt"></i> <span>产品列表</span>
        </a>
    </li>
    <li class='{% is_active "/project/" %}'>
        <a href="/project/">
            <i class="fa fa-product-hunt"></i> <span>项目列表</span>
        </a>
    </li>
    <li class='treeview {% is_active "/version/" %}'>
        <a href="#"><i class="fa fa-play-circle"></i> <span>版本</span> <i class="fa fa-angle-left pull-right"></i></a>
        <ul class="treeview-menu">
          <li><a href="/version/draft/list">发版草稿</a></li>
        </ul>
        <ul class="treeview-menu">
          <li><a href="/version/review/list">发版审核</a></li>
        </ul>
        <ul class="treeview-menu">
          <li><a href="/version/release/list">发版日志</a></li>
        </ul>
    </li>

    <li class='{% is_active "/build" %}'>
        <a href="/build/list">
            <i class="fa fa-play-circle"></i> <span>构建列表</span>
        </a>
    </li>

    <li class='{% is_active "/logview/" %}'>
        <a href="/logview/">
            <i class="fa fa-archive"></i> <span>系统日志</span>
        </a>
    </li>
    <li class='{% is_active "/about/" %}'>
        <a href="/about/">
            <i class="fa fa-book"></i> <span>关于</span>
        </a>
    </li>
{% endblock nav_links %}